<include file="Public:header"/>
<body>
<div class="headk">
    <div class="head">
        <div class="floatleft">您好<a href="__MODULE__/Usercenter/index"><b style="color:red;">{$_SESSION["username"]}</b></a>，欢迎来到金蚂蚁装修网！<span>{$data}<a href="{:U('Home/City/index')}">【切换】</a></span></div>
        <div class="floatright">
            <?php
if($_SESSION["bid"]){?>
            <a href="__MODULE__/Usercenter/index"><b style="color:red;">进入个人中心</b></a> | <a href="__MODULE__/Com/layout">注销</a>
            <?php }else{ ?>
            <!--<a href="{:U('Home/Login/index')}">您还未登陆,点击登陆</a>-->
            <!--<?php }?>-->
            <!--|<a href="{:U('Home/Register/ownreg')}">个人注册</a>|<a href="{:U('Home/Register/comreg')}">装修公司注册</a>-->
            <!--|<a href="{:U('Zxwd/index')}">装修问答</a>|-->
            <span>服务热线:400-0606-129</span>
        </div>
    </div>
</div>
<div class="topbigdiv" bigheight="132" smallheight="103">
    <div class="top">
        <div class="logo">
            <a href="http://www.zxjmy.com">
                <img
                        src="__PUBLIC__/images/logo.png"
                        height="90">
            </a>
        </div>
        <include file="Public:read"/>
    </div>
</div>
<div class="topbigdivbg"></div>


<section id="section" class=" clearfix">
    <div class="top_banner">
        <div class="logo">
            <img src="__PUBLIC__/Upload/{$arr1.imagename}" alt="">
        </div>
    </div>
    <div class="container">
        <div class="center">
            <p class="company-name">
                {$arr1.cname}
            </p>
            <div class="true">
                <span></span>
            </div>
            <div class="tabnav">
                <ul>
                    <li><a href="{:U('Company/detail',array('id'=>$arr1['id']))}">首页</a></li>
                    <li><a href="{:U('Company/introduction',array('id'=>$arr1['id']))}">公司简介</a></li>
                    <li><a href="{:U('Company/zizhi',array('id'=>$arr1['id']))}">公司资质</a></li>
                    <li><a href="{:U('Company/zixun',array('id'=>$arr1['id']))}">公司资讯</a></li>
                    <li class="on"><a href="{:U('Company/visit',array('id'=>$arr1['id']))}">在建工地</a></li>
                    <li><a href="{:U('Company/design',array('id'=>$arr1['id']))}">设计团队</a></li>
                </ul>
            </div>
            <div class="visit">
                <div class="main_content clearfix">
                    <div class="zgs_main_l">
                        <ul class="zgs_left_nav">
                            <li><a href="{:U('Company/visit',array('id'=>$arr1['id']))}" >全部工地</a></li>
                            <li><a href="#" rel="nofollow" class="on">在建工地</a></li>
                            <li><a href="{:U('Company/visited',array('id'=>$arr1['id']))}" rel="nofollow">竣工工地</a></li>

                        </ul>
                    </div>
                    <div class="zgs_main_r">
                        <ul class="zgs_company_cases">
                            <foreach name="arr" item="v">
                                <li class="cases_li">
                                    <div class="case_main">
                                        <div class="case_pics">
                                            <a target="_blank" href="{:U('Company/visit_about',array('id'=>$v['id']))}"><img width="200" height="200" title="{$v.gname}{$v.yezhu}的新家" alt="{$v.gname}" src="__PUBLIC__/images/{$v.imagename}"></a>
                                        </div>

                                        <div class="case_details">
                                            <div class="case_name">
                                                <a href="{:U('Company/visit_about',array('id'=>$v['id']))}" class="case_details_name" title="{$arr.gname}{$arr.yezhu}的新家" target="_blank">{$v.gname}{$v.yezhu}的新家</a>

                                                <!-- <span class="case_check"><em>365</em>人已查看</span>-->
                                            </div>
                                            <div class="case_tag clearfix">
                                                <span>{$v.s_city}</span>
                                                <span class="case_tag_span">{$v.gname}</span>
                                                <span>{$v.price}万</span>
                                                <span>{$v.leixing}</span>
                                                <span>{$v.area}m²</span>
                                                <span>{$v.style}</span>
                                            </div>
                                            <div class="case_progress">
                                                <ul class="clearfix">
                                                    <?php if($v['overstatus']==1){?>
                                                    <li class="on_li"><em class="progress_dot"></em>准备开工</li>
                                                    <li><em class="progress_dot"></em>水电阶段</li>
                                                    <li><em class="progress_dot"></em>泥木阶段</li>
                                                    <li><em class="progress_dot"></em>油漆阶段</li>
                                                    <li><em class="progress_dot"></em>竣工阶段</li>
                                                    <?php }else if($v['overstatus']==2){?>
                                                    <li><em class="progress_dot"></em>准备开工</li>
                                                    <li class="on_li"><em class="progress_dot"></em>水电阶段</li>
                                                    <li><em class="progress_dot"></em>泥木阶段</li>
                                                    <li><em class="progress_dot"></em>油漆阶段</li>
                                                    <li><em class="progress_dot"></em>竣工阶段</li>
                                                    <?php }else if($v['overstatus']==3){?>
                                                    <li><em class="progress_dot"></em>准备开工</li>
                                                    <li><em class="progress_dot"></em>水电阶段</li>
                                                    <li class="on_li"><em class="progress_dot"></em>泥木阶段</li>
                                                    <li><em class="progress_dot"></em>油漆阶段</li>
                                                    <li><em class="progress_dot"></em>竣工阶段</li>
                                                    <?php }else if($v["overstatus"]==4){?>
                                                    <li><em class="progress_dot"></em>准备开工</li>
                                                    <li><em class="progress_dot"></em>水电阶段</li>
                                                    <li><em class="progress_dot"></em>泥木阶段</li>
                                                    <li class="on_li"><em class="progress_dot"></em>油漆阶段</li>
                                                    <li><em class="progress_dot"></em>竣工阶段</li>
                                                    <?php }else if($v["overstatus"]==5){?>
                                                    <li><em class="progress_dot"></em>准备开工</li>
                                                    <li><em class="progress_dot"></em>水电阶段</li>
                                                    <li><em class="progress_dot"></em>泥木阶段</li>
                                                    <li><em class="progress_dot"></em>油漆阶段</li>
                                                    <li class="on_li"><em class="progress_dot"></em>竣工阶段</li>
                                                    <?php } ?>
                                                </ul>
                                            </div>
                                        </div>
                                        <input class="case_btn" type="submit" value="免费预约参观" onclick="freeOrderSite({toid:2863294,gid:4489208, ptag:'1_5_2_5'}, this);return false;">
                                    </div>
                                </li>
                            </foreach>
                        </ul>
                        <div class="page_over">
                            <div class="clearfix" id="pages">
                                <div class="pages">
                                    <div class="pages">{$pageStr}</div>                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</section>
<include file="Public:foot"/>